/*
 * @Description:Cat - 子类 - 派生类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-03-07 09:25:26
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-03-07 09:27:40
 */
public class Cat extends Animal {
  // 成员变量省略

  @Override
  public void eat() {
    System.out.println("猫吃鱼，吃猫条");
  }

  @Override
  public void sleep() {
    System.out.println("猫躺着睡，睡猫窝");
  }

}